<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html 
      xmlns:f="http://java.sun.com/jsf/core" 
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:ui="http://java.sun.com/jsf/facelets" >
	  
<ui:composition template="index.xhtml"><ui:define name="content">
<h:form>
  <table border="0" cellpadding="10" align="center" bgcolor="#FFFFFF">
    <tr>
      <th scope="row" colspan="2">FORMULAIRE D'AUTHENTIFICATION<hr/></th>
    </tr>
    <tr>
      <th scope="row"><div align="right">Login</div></th>
      <td>
      	<h:inputText id="login"
      	             required="true"
      	             value="#{gestionAuthentification.login}"
      	             validator="#{gestionAuthentification.verificationLogin}"/>
      	<h:message for="login"/>
	  </td>
    </tr>
    <tr>
      <th scope="row"><div align="right">Mot de passe</div></th>
      <td><h:inputSecret id="pwd"
                         required="true"
                         value="#{gestionAuthentification.pwd}"
      	                 validator="#{gestionAuthentification.verificationPwd}"/>
      	  <h:message for="pwd"/>
      </td>
    </tr>
    <tr>
      <th scope="row">&nbsp;</th>
      <td><h:commandButton type="submit" action="#{gestionAuthentification.verification}" value="Connexion"/><h:commandButton type="reset" value="Annuler"/></td>
    </tr>
  </table>
</h:form>
</ui:define></ui:composition>
</html>